<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!-- 
<logic:empty name="user" scope="session">
	<script>
		window.location.href('<%=basePath%>NotLogin.jsp');    					
	</script>
</logic:empty>
 -->
<div class="mngLeftContainer">
	<div class="mngLeftContainerT"></div>
	<div class="mngLeftContainerM">
		<div class="mngList">
			<div class="mngListBtn">
				<a href="../admin/adminLogin.do">管理首页</a>
			</div>
			<div class="mngListT">
				个人信息
			</div>
			<div class="mngListM">
				<table cellpadding="0" cellspacing="0">
					<tr>
						<td>
							用户
						</td>
						<td>
							<a href="../admin/preSetting.do"><span><bean:write
										name="user" property="username" /> </span> </a>
						</td>
					</tr>
					<tr>
						<td>
							身份
						</td>
						<td>
							<logic:equal name="user" property="type" value="0">
								<span>管理员</span>
							</logic:equal>
							<logic:equal name="user" property="type" value="1">
								<span>内部用户</span>
							</logic:equal>
						</td>
					</tr>
					<tr>
						<td>
							<a href="../admin/preSetting.do">个人设置</a>
						</td>
						<td>
							<a href="../admin/logout.do">退出系统</a>
						</td>
					</tr>
				</table>
			</div>
			<div class="mngListB"></div>

			<logic:equal name="user" property="type" value="0">
				<div class="mngListT">
					用户管理
				</div>
				<div class="mngListM">
					<table cellpadding="0" cellspacing="0">
						<tr>
							<td>
								<a href="../admin/adminUser.do">用户管理</a>
							</td>
							<td>
								<a href="../admin/addUser.do">添加用户</a>
							</td>
						</tr>

					</table>
				</div>
				<div class="mngListB"></div>
			</logic:equal>

			<div class="mngListT">
				导航管理
			</div>
			<div class="mngListM">
				<table cellpadding="0" cellspacing="0">
					<tr>
						<td colspan="2">
							<a href="../admin/manageProjet.do">当月计划管理</a>
						</td>
					</tr>
					<tr>
						<td>
							<a href="../admin/manageNavigate.do">导航管理</a>
						</td>
						<td>
							<a href="../admin/preAddNavigate.do">添加导航</a>
						</td>
					</tr>
				</table>
			</div>
			<div class="mngListB"></div>

			<div class="mngListT">
				预定管理
			</div>
			<div class="mngListM">
				<table cellpadding="0" cellspacing="0">
					<tr>
						<td colspan="2">
							<a href="../admin/manageProjet.do">预定管理</a>
						</td>
					</tr>
				</table>
			</div>
			<div class="mngListB"></div>
			
			<logic:equal name="user" property="type" value="0">
				<div class="mngListT">
					计划管理
				</div>
				<div class="mngListM">
					<table cellpadding="0" cellspacing="0">
						<tr>
							<td>
								<a href="../line/manageCategory.do?parId=0">计划管理</a>
							</td>
							<td>
								<a href="../line/preAddNewPlan.do?parId=0">添加计划</a>
							</td>
						</tr>

					</table>
				</div>
				<div class="mngListB"></div>
			</logic:equal>
			<logic:equal name="user" property="type" value="0">
				<div class="mngListT">
					线路管理
				</div>
				<div class="mngListM">
					<table cellpadding="0" cellspacing="0">
						<tr>
							<td>
								<a href="../line/manageLine.do">线路管理</a>
							</td>
							<td>
								<a href="../line/preAddLine.do">添加线路</a>
							</td>
						</tr>
					</table>
				</div>
				<div class="mngListB"></div>
			</logic:equal>
			<logic:equal name="user" property="type" value="0">
				<div class="mngListT">
					出团日期及余位
				</div>
				<div class="mngListM">
					<table cellpadding="0" cellspacing="0">
						<tr>
							<td>
								<a href="../line/manageSeat.do">余位信息管理</a>
							</td>
							<td>
								<a href="../line/preAddSeat.do">添加余位信息</a>
							</td>
						</tr>
					</table>
				</div>
				<div class="mngListB"></div>
			</logic:equal>	
			<logic:equal name="user" property="type" value="0">
				<div class="mngListT">
					景区信息
				</div>
				<div class="mngListM">
					<table cellpadding="0" cellspacing="0">
						<tr>
							<td>
								<a href="../presentation/managePresentation.do?parId=0">一级类别管理</a>
							</td>
							<td>
								<a href="../presentation/preAddPresentation.do?parId=0">添加一级分类</a>
							</td>
						</tr>	
						<tr>
							<td>
								<a href="../presentation/manageDetail.do">信息管理</a>
							</td>
							<td>
								<a href="../presentation/preAddDetail.do">添加信息</a>
							</td>
						</tr>						
					</table>
				</div>
				<div class="mngListB"></div>
			</logic:equal>			
		</div>
	</div>
	<div class="mngLeftContainerB"></div>
</div>

